package com.ctshk.rpc.bus.service;

import com.ctshk.common.dto.Result;
import com.ctshk.common.model.TokenUser;
import com.ctshk.rpc.bus.dto.BusInitializationSettingsDTO;
import com.ctshk.rpc.bus.req.BusInitializationSettingsReq;

/**
 * <p>
 * 巴士票api初始化设置表 服务类
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-07
 */
public interface IBusInitializationSettingsService{

    /**
     * 巴士票api初始化设置
     * @param busInitializationSettingsReq
     * @param user
     */
    Result<Void> saveSettingInfo(BusInitializationSettingsReq busInitializationSettingsReq, TokenUser user);

    /**
     * 根据供应商id查询巴士票api设置
     * @param supplierId
     * @return
     */
    BusInitializationSettingsDTO queryDetail(Long supplierId);


}
